auto merge of #328 : alexcrichton/cargo/cargo-building-cargo, r=wycats
authorbors <bors@rust-lang.org>
Wed, 6 Aug 2014 19:20:56 +0000 (19:20 +0000)
committerbors <bors@rust-lang.org>
Wed, 6 Aug 2014 19:20:56 +0000 (19:20 +0000)
Cargo should be able to build with cargo so others can depend on the cargo
library. This means that the one requirement of the CFG_VERSION env var will not
be available. This alters `version()` to prioritize CFG_VERSION but fall back to
the cargo-specified variables.


Trivial merge